package com.leyou.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: Rose
 * @Date: 2021/4/13 11:41
 * @description ${description}
 * @version: 1.0.0
 */
@Data
@ConfigurationProperties(prefix = "ly.worker")
public class IdWorkerProperties {

    /**
     * 当前的机器id
     */
    private Long workerId;

    /**
     * 当前的序列号
     */
    private Long dataCenterId;
}
